package com.study.mike.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author KangHui
 * @Date 2022/12/23 16:20
 */
@Getter
public enum MagicalLandEnum {
    SINGLE(0, "单机"),
    TEAM(1, "团队");
    @EnumValue
    private final Integer magicalType;
    @JsonValue
    private final String value;

    MagicalLandEnum(Integer magicalType, String value) {
        this.magicalType = magicalType;
        this.value = value;
    }
}
